<div class="invest-main-left">
	<div class="bid_info mb20 bdr1-e6e6e6 pt40 pl40 pr40 pb30 bg-white">
	  {{#each flowUploads}}
	  	{{#equal type 6}}
	  		<img src="{{../../url}}{{picPath}}" class="face mr30 mb20" />
	  	{{/equal}}
	  {{/each}}
      {{#with project}}
	      <dl class="clearfix float_left">
	        <dt class="c315A8B">{{name}}</dt>
	        
	      	</dd>
	        <dd class="bid_intro"> 
	          <div class="first"><span><i class="icon money"></i>借款金额</span><br><b class="c315A8B f24">{{moneyFormat account}} <em>元</em></b></div>
	          <div class="second"><span><i class="icon pecent"></i>年化利率</span><br><b class="c315A8B f24">{{apr}}<em>%</em></b></div>
	          <div class="last"><span><i class="icon clock-gray"></i>借款时间</span><br><b class="c315A8B f24">{{flowlimit timeLimit isDay}}</b></div>
	        </dd>
	      </dl>
	
	      <ul class="bdr1-e6e6e6 pt10 pb10 pl20 pr20">
	        <li>还款方式　<span>{{transFormatStyle repayStyle}}</span></li>
	        <li>起购份数　<span id="startNum">{{startCopies}}</span>份</li>
	        <li>总共　<span id="totalNum">{{totalCopies}}份</span></li>
	        <li>剩余　<span id="surplusNum">{{surplusCopie totalCopies yesCopies}}份</span></li>
	        <li>每份价格　<span>￥{{eachMoney}}</span></li>
	        <li>发布时间　<span>{{noticeDateFormatNew addTime}}</span></li>
	     
	      </ul>
      {{/with}}
    </div>

    <div class="mb20 bdr1-e6e6e6 bg-white">
      <div class="detail-menus clearfix">
        <div class="detail_menus_center">
          {{#if userBaseInfo}}
          <a href="javascript:void(0)" class="a1">借款方详情</a>
          {{/if}}
          <a href="javascript:void(0)" class="a2">借款描述</a>
          {{#if flowUploads}}
          <a href="javascript:void(0)" class="a4">借款资料</a>
          {{/if}}
          <a href="javascript:void(0)" class="a3">投资记录</a>
          <p id="invest_btn" class="js_hide" href="javascript:;">立即投资</p>
        </div>
      </div>
      <div class="invest_detail_content">
     
      {{#with userBaseInfo}}
        <div class="borrower-info mb30">
          <h3 class="invest-detail-h3"><i class="icon clip"></i>借款方详情</h3>
          <h4>借款人信息</h4>
          <ul class="clearfix">
            <li><label for="">用户名：</label>{{../userName}}</li>
            <li><label for="">婚姻状况：</label>{{transMaritalStatus maritalStatus}}</li>
            <li><label for="">收入范围：</label>{{transMonthIncomeRange monthIncomeRange}}</li>
            <li><label for="">年　龄：</label>{{transBirthday birthday}}</li>
            <li><label for="">户籍城市：</label>{{province}} {{city}}</li>
            <li><label for="">车　　产：</label>{{transValue carStatus}}</li>
            <li><label for="">学　历：</label>{{transEducation education}}</li>
            <li><label for="">工作时间：</label>{{transWorkExperience workExperience}}</li>
            <li><label for="">房　　产：</label>{{transValue houseStatus}}</li>
          </ul>
          {{#with ../certificationApply}} 
          <h4 class="mt10">资料审核状态</h4>
          <table>
          <thead>
            <tr>
              <th>审核项目</th>
              <th>状态</th>
              <th>通过时间</th>
            </tr>
          </thead>
          <tbody>
          {{#each ../../certificationApply}}
            <tr>
              <td>{{typeName}}</td>
              <td><img src="/themes/theme_default/media/bg/ok.png" alt=""></td>
              <td>{{timeMonthFormat addTime}}</td>
            </tr>
            {{/each}}
          </tbody>
          </table>
          {{/with}}
        </div>
        {{/with}}
       
        {{#with project}}
        <div class="borrow-desc mb30">
          <h3 class="invest-detail-h3"><i class="icon clip"></i>借款描述</h3>
          <div class="pl30 pt20">
            <p style="text-indent:2em">{{borrowDetailContent content}}</p>
          </div>
        </div>
        {{/with}}
		{{#if flowUploads}}
		<div class="borrow-detail mb30">
          <h3 class="invest-detail-h3"><i class="icon clip"></i>借款资料</h3>
          <div class="tab-content">
            <div class="album">
              <ul class="img-box bdr1-e6e6e6">
              {{#each flowUploads}}
              	{{#equal type 4}}
                	<li  style="display: list-item;"><a href="{{../../url}}{{picPath}}" class="fancybox" rel="gallery"><img src="{{../../url}}{{picPath}}" alt="借款资料"></a></li>
              	{{/equal}}
              {{/each}}
              </ul>
              <a href="javascript:void(0)" class="prev"></a>
              <a href="javascript:void(0)" class="next"></a>
              <ul class="hd">
              {{#each flowUploads}}
              	{{#equal type 4}}
              		<li></li>
              	{{/equal}}
              {{/each}}
              </ul>
            </div>
          </div>
        </div>
		{{/if}}

        <div class="invest-record">
          <h3 class="invest-detail-h3"><i class="icon clip"></i>投资记录</h3>
          <table id="invest-txjl-tbl">
            <thead>
              <tr>
                <th>序号</th>
                <th>投资人</th>
                <th>购买份数</th>
                <th>购买金额</th>
                <th>购买时间</th>
                <th>状态</th>
              </tr>
            </thead>
            <tbody>
            {{#if data.list}}
            {{#each data.list}}
              <tr>
             <td class="order">{{addOne @index}}</td>
		    <td>{{userName}}</td>
		    <td>{{buyCopies}}</td>
		    <td>￥{{buyMoney}}</td>
		    <td>{{transFormatDate addTime}}</td>
		    <td><i class="icon success"></i></td>
              </tr>
            {{/each}}
            {{else}}
            <tr><td colspan="6">暂无投资记录</td></tr>
            {{/if}}
            </tbody>
          </table>
          <div id="kkpager" class="ml20 mr20"></div>
        </div>
      </div>
    </div>
  </div>